package com.yanghui.dao;

import com.yanghui.pojo.Log;
import com.yanghui.pojo.LogExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface LogMapper {
    long countByExample(LogExample example);

    int deleteByExample(LogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Log record);

    int insertSelective(Log record);

    List<Log> selectByExample(LogExample example);

    Log selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Log record, @Param("example") LogExample example);

    int updateByExample(@Param("record") Log record, @Param("example") LogExample example);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

    List<Log> selectLogListByDate(Map<String, Object> map);

    /**
     * 按照指定日期查询操作日志
     */
    List<?> selectUserLogByDate(Map<String, Object> map);
}